package com.zxd.files;

import java.io.File;
import java.io.IOException;

/**
 * ClassName:Test
 * Package:com.zxd.files
 *
 * @Date:2023/10/9 15:41
 * @Author:zxde
 */
public class Test {
    public static void main(String[] args) throws IOException {
        File file = new File("login.txt");
        System.out.println(file.length());

        File outFile = new File("logout.txt");
        if (!outFile.exists()){
            outFile.createNewFile();
        }
    }
}
